-
Home
-
WooCommerce PayPal Payments
-
3.1.2 (latest)
-
Code
-
Classes
- PurchaseUnitFactory
Total Complexity |
41 |
Dependencies |
15 |
Dependents |
19 |
Total lines |
255 |
Lines of code |
125 |
Logical lines of code |
91 |
Comment lines |
111 |
Methods |
9 |
Properties |
7 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
from_paypal_response() |
A |
45 |
14 |
39 |
from_wc_cart() |
A |
47 |
10 |
33 |
should_disable_shipping() |
S |
75 |
5 |
3 |
from_wc_order() |
S |
55 |
2 |
19 |
shipping_needed() |
S |
67 |
3 |
8 |
sanitize_soft_descriptor() |
S |
70 |
3 |
5 |
init_purchase_unit() |
S |
74 |
2 |
5 |
__construct() |
S |
65 |
1 |
9 |
country_without_postal_code() |
S |
65 |
1 |
4 |